﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SAI
{
    public class Edge
    {
        private Node _src;
        private Node _dst;
        private double _weight;


        public Node Src { get { return _src; } set { _src = value; } }
        public Node Dst { get { return _dst; } set { _dst = value; } }
        public double Weight { get { return _weight; } set { _weight = value; } }

        public Edge(Node src, Node dst, double weight)
        {
            _src = src;
            _dst = dst;
            _weight = weight;
        }
    }
}
